package org.zcl.entity;


import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * 用户表(TbUserInfo)表实体类
 *
 * @author makejava
 * @since 2021-12-27 18:35:28
 */
@SuppressWarnings("serial")
public class TbUserInfo extends Model<TbUserInfo> {
    //主键自增
    private Integer id;
    //姓名
    private String name;
    //性别
    private Integer age;
    //地址
    private String address;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}

